\documentclass{article}
\usepackage[style=authoryear]{biblatex}
\addbibresource{ref1.bib}
\addbibresource{ref2.bib}

\begin{document}

\cite{expecting-comma}

\printbibliography
\end{document}
